package com.lsy.weizhi2.JsonObject;

import java.util.List;

/**
 * Created by 嗨哟 on 2017/4/18.
 */
public class ActivityListObject {

    /**
     * result : true
     * message :
     * error :
     * pageNo : 1
     * pageSize : 20
     * totalPages : 1
     * count : 4
     * totalElements : 4
     * list : [{"id":4,"firstCategoryId":1,"secondCategoryId":1,"title":"activity1","photo":"1","content":"agagagaggaggagaa","email":"379932@qq.com","tel":"13900001001","createTime":"2017-04-17 17:28:19","updateTime":"2017-04-17 17:28:24","createUserId":1,"createUsername":null,"updateUserId":1,"updateUsername":null,"realName":"wz1","avatar":0,"enrollment":0},{"id":3,"firstCategoryId":1,"secondCategoryId":1,"title":"activity1","photo":"1","content":"agagagaggaggagaa","email":"379932@qq.com","tel":"13900001001","createTime":"2017-04-17 17:28:19","updateTime":"2017-04-17 17:28:24","createUserId":1,"createUsername":null,"updateUserId":1,"updateUsername":null,"realName":"wz1","avatar":0,"enrollment":0},{"id":2,"firstCategoryId":1,"secondCategoryId":1,"title":"activity1","photo":"1","content":"agagagaggaggagaa","email":"379932@qq.com","tel":"13900001001","createTime":"2017-04-17 17:28:19","updateTime":"2017-04-17 17:28:24","createUserId":1,"createUsername":null,"updateUserId":1,"updateUsername":null,"realName":"wz1","avatar":0,"enrollment":0},{"id":1,"firstCategoryId":1,"secondCategoryId":1,"title":"activity1","photo":"1","content":"agagagaggaggagaa","email":"379932@qq.com","tel":"13900001001","createTime":"2017-04-17 17:28:19","updateTime":"2017-04-17 17:28:24","createUserId":1,"createUsername":null,"updateUserId":1,"updateUsername":null,"realName":"wz1","avatar":0,"enrollment":0}]
     */

    private boolean result;
    private String message;
    private String error;
    private int pageNo;
    private int pageSize;
    private int totalPages;
    private int count;
    private int totalElements;
    private List<ListBean> list;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getTotalElements() {
        return totalElements;
    }

    public void setTotalElements(int totalElements) {
        this.totalElements = totalElements;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * id : 4
         * firstCategoryId : 1
         * secondCategoryId : 1
         * title : activity1
         * photo : 1
         * content : agagagaggaggagaa
         * email : 379932@qq.com
         * tel : 13900001001
         * createTime : 2017-04-17 17:28:19
         * updateTime : 2017-04-17 17:28:24
         * createUserId : 1
         * createUsername : null
         * updateUserId : 1
         * updateUsername : null
         * realName : wz1
         * avatar : 0
         * enrollment : 0
         */

        private int id;
        private int firstCategoryId;
        private int secondCategoryId;
        private String title;
        private String photo;
        private String content;
        private String email;
        private String tel;
        private String createTime;
        private String updateTime;
        private int createUserId;
        private Object createUsername;
        private int updateUserId;
        private Object updateUsername;
        private String realName;
        private int avatar;
        private int enrollment;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getFirstCategoryId() {
            return firstCategoryId;
        }

        public void setFirstCategoryId(int firstCategoryId) {
            this.firstCategoryId = firstCategoryId;
        }

        public int getSecondCategoryId() {
            return secondCategoryId;
        }

        public void setSecondCategoryId(int secondCategoryId) {
            this.secondCategoryId = secondCategoryId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(int createUserId) {
            this.createUserId = createUserId;
        }

        public Object getCreateUsername() {
            return createUsername;
        }

        public void setCreateUsername(Object createUsername) {
            this.createUsername = createUsername;
        }

        public int getUpdateUserId() {
            return updateUserId;
        }

        public void setUpdateUserId(int updateUserId) {
            this.updateUserId = updateUserId;
        }

        public Object getUpdateUsername() {
            return updateUsername;
        }

        public void setUpdateUsername(Object updateUsername) {
            this.updateUsername = updateUsername;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public int getAvatar() {
            return avatar;
        }

        public void setAvatar(int avatar) {
            this.avatar = avatar;
        }

        public int getEnrollment() {
            return enrollment;
        }

        public void setEnrollment(int enrollment) {
            this.enrollment = enrollment;
        }
    }
}
